let authSite = {};

if (process.env.NODE_ENV === 'development') {
  authSite = {
    // homeUrl: 'http://localhost:8000/#',
    // loginUrl: 'http://localhost:8000/#/user/login',
    homeUrl: 'http://mgmt.chayueshebao.com/#',
    loginUrl: 'http://mgmt.chayueshebao.com/#/user/login',
  };
}

const topLayoutSetting = {
  navTheme: 'dark',
  primaryColor: '#1890FF',
  layout: 'topmenu',
  contentWidth: 'Fixed',
  fixedHeader: true,
  autoHideHeader: false,
  fixSiderbar: false,
  colorWeak: false,
  menu: {
    locale: true,
  },
  title: '认证管理',
  pwa: false,
  iconfontUrl: '',
};

export default {
  navTheme: 'dark',
  primaryColor: '#1890FF',
  layout: 'sidemenu',
  contentWidth: 'Fluid',
  fixedHeader: true,
  autoHideHeader: false,
  fixSiderbar: true,
  menu: {
    locale: false,
  },
  title: '认证管理',
  pwa: false,
  iconfontUrl: '',
};
export { topLayoutSetting, authSite };
